﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace ToolGab
{
    public class Ressources
    {
        public static Image GetImage(string ImageName)
        {
            try
            {
                return (Image) ToolGab.Properties.Resources.ResourceManager.GetObject(ImageName);
            }
            catch (Exception)
            {

                return null;
            }
        }
    }
}
